export interface PersonInter {
  name: string,
  id: string,
  age: number
}
//自定义类型，定义为数组类型
// export type Persons = Array<PersonInter>  //使用泛型定义为数组
export type Persons = PersonInter[]